package vn.ugame.model.entity;

import java.util.Locale;

@Entity
public class Config {

    @Collumn(name = "locale")
    private Locale locale;
    @Collumn(name = "key")
    private String key;
    @Collumn(name = "value")
    private String value;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Locale getLocale() {
        return locale;
    }

    public void setLocale(Locale locale) {
        this.locale = locale;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Config() {
    }
    
    public Config(Locale locale, String key, String value) {
        this.locale = locale;
        this.key = key;
        this.value = value;
    }
}
